<div  class="animated fadeInRight ecommerce">
    <div class="row" v-if="orderManageInfo.orderDetail == false">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="查询条件" namespace="orderManage"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('订单编号','orderManage')"
                                       v-model="orderManageInfo.conditions.oId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <select class="custom-select" v-model="orderManageInfo.conditions.orderTypeCd">
                                    <option value="">{{vc.i18n('请选择订单类型','orderManage')}}</option>
                                    <option value="Q">{{vc.i18n('查询单','orderManage')}}</option>
                                    <option value="D">{{vc.i18n('受理单','orderManage')}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="appid"
                                       v-model="orderManageInfo.conditions.appId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm"
                                    v-on:click="_queryOrdersMethod()">
                                <i class="fa fa-search"></i> <span><vc:i18n name="查询" namespace="orderManage"></vc:i18n></span>
                            </button>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <div class="row" v-if="orderManageInfo.orderDetail == false">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="受理单信息" namespace="orderManage"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;"></div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny"
                           data-page-size="15"
                    >
                        <thead>
                        <tr>
                            <th class="text-center"><span><vc:i18n name="应用名称" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="业务名称" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="订单编号" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="外部编号" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="受理时间" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="操作人" namespace="orderManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="状态" namespace="orderManage"></vc:i18n></span></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="order in orderManageInfo.orderDataVos">
                            <td class="text-center">{{order.appName}}</td>
                            <td class="text-center">{{order.name}}</td>
                            <td class="text-center">{{order.oId}}</td>
                            <td class="text-center">{{order.extTransactionId}}</td>
                            <td class="text-center">{{order.createTime}}</td>
                            <td class="text-center">{{order.userName}}</td>
                            <td class="text-center">{{order.statusCd}}</td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>

    <div v-if="orderManageInfo.orderDetail == true">
        <vc:create path="/pages/admin/orderDetailManage"></vc:create>
    </div>


</div>
